package com.guofen.service.shlj;

import com.guofen.pojo.ShljEquipmentMaintenance;
import com.guofen.pojo.ShljEquipmentRunningtime;

import java.util.List;
import java.util.Map;

public interface EquipmentRunningtimeService{

    //添加开机时间记录
    boolean addStartupTime(String startupTime);

    //添加关机时间记录
    boolean addShutdownTime(String shutdownTime,
                            String shutdownReasion);

    List<ShljEquipmentRunningtime> findForm();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(ShljEquipmentRunningtime record);
}